package com.lh.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Candidate {
    private Long id;//ID
    private String jwCode;//精网号
    private String name;//候选人名称
    private String avatar;//头像
    private Integer votes = 0;//票数
    private boolean isVoted;//是否被当前用户投票
}
